Attempted to Create a Background Login

I attempted to create a background login and possibly some other things
so I will not revert, but the code is not funcitonal