Dashboard button now correctly redirects to login page if user is not logged in while login page redirects to dashboard the other way around.
Server-side rendering with htmx and Tailwind CSS for the styling