Initialize login manager
Fixed spacing
Added Flask-Login required methods to user model
Replaced custom login system with Flask-Login