Change depreciated get_userdatabylogin() call

Use get_user_by( 'login', … ) instead of depreciated
get_userdatabylogin()