finish sessions controller
fix conficts
fix database error
fix routes conflicts