added and fixed loggin capabilities