Added login setting and check on if login is enabled
Renamed enabled setting to login - enabled setting existed twice
Added check on login setting