Creating context preparing login logout user functions