front: login and trvial fix