Adding basic login feature to the web app through spring security