Added verify user function