Remove unrequired require and added a background for logging in