Added login_type Carrier, + funcion validate_login, function log_out, added dummy user to database