login and out of discover page