Implemented Final Register and Login