Created register & logIn functions

Also updated the SQL script