redirecting to & from login page

@commuterjoy