implemented basic login box