Login functionality re-enabled