password username validation added