<commit_before>**Sign Up**
----
  Create new user and return JSON data with token and expiration information.

* **URL**

  http://highstakesnotes-env.us-east-1.elasticbeanstalk.com/HighStakesUsers/signUp

* **Method:**

  `POST`
  
*  **JSON Params**

   **Required:**
 
   `username=[String], password=[String]`
   
* **Success Response:**

  * **Code:** 200 <br />
    **Content:** `{
  "access_token": "<PASSWORD>-9245-4<PASSWORD>-aafc-86cf3ee330131482119318105",
  "expirationDate": "2016-12-20T03:48:38Z"
}`
 
* **Error Response:**

  * **Code:** 200 <br />
    **Content:** `{
  "timestamp": 1482124726243,
  "errorMessage": "User Already Taken",
  "status": "422"
}`

* **Sample Call:**

  ```curl -X POST -H "Cache-Control: no-cache" -H "Postman-Token: <PASSWORD>" -d '{  
   "username":"viniciustinguan2",
   "password":"<PASSWORD>"
}' "http://highstakesnotes-env.us-east-1.elasticbeanstalk.com/HighStakesUsers/signUp"```
  <br />
  <br />
<commit_msg>adding doc login<commit_after>**Sign Up**
----
  Create new user and return JSON data with token and expiration information.

* **URL**

  http://highstakesnotes-env.us-east-1.elasticbeanstalk.com/HighStakesUsers/signUp

* **Method:**

  `POST`
  
*  **JSON Params**

   **Required:**
 
   `username=[String], password=[String]`
   
* **Success Response:**

  * **Code:** 200 <br />
    **Content:** `{
  "access_token": "b3e0e168-9245-4910-aafc-86cf3ee330131482119318105",
  "expirationDate": "2016-12-20T03:48:38Z"
}`
 
* **Error Response:**

  * **Code:** 200 <br />
    **Content:** `{
  "timestamp": 1482124726243,
  "errorMessage": "User Already Taken",
  "status": "422"
}`

* **Sample Call:**

  ```curl -X POST -H "Cache-Control: no-cache" -H "Postman-Token: <PASSWORD>" -d '{  
   "username":"viniciustinguan2",
   "password":"<PASSWORD>"
}' "http://highstakesnotes-env.us-east-1.elasticbeanstalk.com/HighStakesUsers/signUp"```
  <br />
  <br />
  
  
  
  **Login**
----
  Authenticating an existent user and return JSON data with token and expiration information.

* **URL**

  http://highstakesnotes-env.us-east-1.elasticbeanstalk.com/HighStakesUsers/login

* **Method:**

  `POST`
  
*  **JSON Params**

   **Required:**
 
   `username=[String], password=[String]`
   
* **Success Response:**

  * **Code:** 200 <br />
    **Content:** `{
  "access_token": "<PASSWORD>",
  "expirationDate": "2016-12-20T03:48:38Z"
}`
 
* **Error Response:**

  * **Code:** 200 <br />
    **Content:** `{
  "timestamp": 1482125085382,
  "errorMessage": "Unauthorized",
  "status": "401"
}`

* **Sample Call:**

  ```curl -X POST -H "Cache-Control: no-cache" -H "Postman-Token: <PASSWORD>" -d '{  
   "username":"viniciustinguan",
   "password":"<PASSWORD>"
}' "http://highstakesnotes-env.us-east-1.elasticbeanstalk.com/HighStakesUsers/login"```
  <br />
  <br />

{'fraction_non_alphanumeric': 0.21233605104572847, 'fraction_numerical': 0.06238922367954626, 'mean_word_length': 3.783050847457627, 'pattern_counts': {'":': 21, '<': 24, '<?xml version=': 0, '>': 24, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4070057', 'n_tokens_mistral': 1184, 'n_tokens_neox': 1031, 'n_words': 192}