issue - redirrect page opens in browser after loginform close