Fixed Authentication and User login. Also added Registration form