navbar and user menu implementation, database backed up