Login and logout works
fixed redirect prob