Refactored heavily the authentication, login and signup flow

- separated navigation and login view to separate components
- still some cases where login flow fails...