adding tests for user and application, adding validations for application
adding table to store public keys