WIP
WIP
Added register functions and login page