added password input type to login_frag