Fix for dropdown login not working