Add check in login template if user has already logged in.

If so, redirect to search route