Add remember login functionality

And beautify some lines
Set up tmp dirs
Renew .gitgnore
Clean Up and change spaces for tab identation