Filled in verify password method.