Fixes in login form and editor