User class

The user class is now as complete as it can be.