#46 Fixed bug when user logs in to the admin section for the first time