Added Login/Logout functionality with credentials from DB using ShaPasswordEncoder(256)