fixing the redirect if the user is not logged


Signed-off-by: Yasen Yankov <iasen.iankov@gmail.com>