Added user auth and register ability