calling validate_login in native process_user method so it doesn't throw an error
adding ability to define default settings via php constants