Added user database authorization