Update login.php

updated session redirect(naive)