checking for user and making web session