restrited registering of new users to admins. added expiration field to REST endpoint + updated .gitignore.