Created settings file, changed to login controller