proper logins and detail page