Create A user register/login system

Hello, I would like to know if there is a way to create a user register/login system using mysql and the scoreboard method to allow a user to save his/her’s progress.
Thanks in advanced.