slight changes to login