Registration back end

1) Modified database so that it contains user table
2) Created a controller which accepts data from a POST request, checks if user with specified login or email exists, if not, adds a new  user to DB, otherwise sends error to the client in json representation