Remade user model, remade achievement model, remade database tables for both, added validations and some tests for achievements.