Login Interceptor and format classes