Added user login and register ability