login form , small fixes