- properly redirect users to the login action
- indentation fixes [skip ci]