added partial for login and main page