Logout redirection problem solved. Added remember token field to users table