added login and param validators