Last commit for today - todo: fix redirection after login and registration