login view : record user name and pwd