Added more message types to protofactory, further use protofactory for authentication and getData messages