Added functions for creating and storing new user
Using constants for status code
Had to rename fields so that they are exported and accessible by json
package
Basic registration handler
Function for storing email of authenticated user
Comments and formatting
Less code !