Fixed odd login issue and re applied the get_accounts fix