Added set and get functions for user

It makes it more versatile with these methods