fixed validation in user model

improved project model
implemented project model test
improved user model test