minor login issue fixes