As er typed user's correctly, redirect to main page