Implemented Spring Security and login based on database stored credentials.