Removed app secret key + added tests and views