added file for common declarations and added some fields to the user class