Added SECRET_KEY configuration
Added database models
Added LoginManager
Added user authentication and registration