fixed logout redirect for newly registered users, added blocks to prevent non-logged in users from accessing anything except login/signup