Added fields to user and made postUser functional