Changed return to pages for Logging in/out.

Logging out should send you to the homepage.
Logging in should send you to the page from where you clicked logging
in.