Added user database info and redis communication