Card #226 session management, users have 30m sessions, user token repository methods to check for expired session, get/set expiration, if session is expired user is logged out of api and redirected to /api/error 401, note: redirect is to a fixed url, consider moving to properties file
TODO: resolve error on failed authentication: org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
Card #226 fix angular error on 401