logged out and form fixes