Changed admin redirects to 2 and user to 0.