login and registration in Bootstrap mode