Fix bug in views: login and register
(change from "new User($db)" to "new User($db->db)"

Fix bug in class User, method Login

Add views: edit and logout