Login, register and admin menu working