Added session implementatoin to verify user