Updating time types and fixing login'