added login as main page