added login fields for registering user