Redirects current user to homepage if signed in.
Merge pull request #26 from JamieMcKenzie/user-reg-bug-fix

Redirects current user to homepage if signed in.