Added method implementations with the user class