Added method to force re-login from the user. Fixed login vars that throw error on Smarty.