Added all accounts view function login_required, and redirect URL on login