Used Session variables for login