refactor login and start homepage
improve homepage