API Key & User additions for generate key, etc. Also added integration and unit tests for the respective code.