Added custom routes, login, logout, registration