Add Register and Login funcionality