Moved environment variables to constants file
Updated to use empty comparison rather than nil comparisons for username & apikey
Finished explicit login function. Added placeholders in identity_test for new login functions