login and homepage version 1