UI and more

- Basic login UI
- Cleaned up the dashboard a bit
- Started user functions
- Fixed authentication redirect loops
- Added log out function