adding better login vali