added map functionality but messed up logout button