add helper functions for reading and writing from/to redis server
rewrite authentication using new helper functions
rewrite redisSet with new helper functions and optimze matrix upload
rewrite redisGet with new helper functions and optimize read