connecting login view and register view