login and register implementation

login and register implementation, handlers/user
login and register function
Merge