created getters for LoginComm and modified Serializer to serialize LoginComm