fixed static pages test
added presence validation to user model