add check in login form...test redirect by Kostuli