added securityconfig.java after deletion
TOTALY CHANGED restful security api; no login page, 100% restful: /login and params: username, password; UserController deleted(unuseful); changes in SecurityConfig