Removed Spring security and gave a custom path for logging.
Also tried to make login work but unable