Used filters instead of functions for getting password characters
Added the filter