Added User authentication and added secure module as a dependency