Login/Account plugin to Spring style plugin