Implemented toString method for User