basic login logics additional