Login actvity, model and controller defined