fixing the login redirect to do a full reload