Completed Login and Register modules