Added set and get functions for user