redirect to /dias after login now fixed