Removed trailing whitespaces and got the map displaying properly on sign in and sign out.