tested implementation of user & messages