<commit_before>var app = angular.module('teamformApp', ['ngRoute']);
	app.config(function($routeProvider) {
		$routeProvider
	
		//route for the home page
		.when('/about', {
			templateUrl : 'pages/main.html'
		})
		
		.when('/signup', {
			templateUrl : 'pages/createProfile.html'
		})
		
		.when('/events', {
			templateUrl : 'pages/event.html'
		})
		
		.when('/createEvent', {
			templateUrl : 'pages/createEvent.html'
		})
		
		.when('/eventSample', {
			templateUrl : 'pages/event_info.html'
		})
		
		.when('/adminEvent', {
			templateUrl : 'pages/event_admin.html'
		})
		.otherwise('/about');
	});<commit_msg>Added login and logout features<commit_after>var app = angular.module('teamformApp', ['ngRoute']);
	app.config(function($routeProvider) {
		$routeProvider
	
		//route for the home page
		.when('/about', {
			templateUrl : 'pages/main.html'
		})
		
		.when('/login', {
			templateUrl : 'pages/createProfile.html',
			resolve: {
            login: function(loginService) {
              return loginService.login();
            },
			updateUser: function(loginService) {
			  return loginService.updateUser();
            }
          }
		
		})

			.when('/logout', {
				templateUrl: 'pages/main.html',
				resolve: {
					logout: function (loginService) {
						return loginService.logout();
					}
				}

			})
		
		.when('/events', {
			templateUrl : 'pages/event.html'
		})
		
		.when('/createEvent', {
			templateUrl : 'pages/createEvent.html'
		})
		
		.when('/eventSample', {
			templateUrl : 'pages/event_info.html'
		})
		
		.when('/adminEvent', {
			templateUrl : 'pages/event_admin.html'
		})
		.otherwise('/about');
	})
{'fraction_non_alphanumeric': 0.1729368932038835, 'fraction_numerical': 0.0, 'mean_word_length': 2.697309417040359, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6766191', 'n_tokens_mistral': 652, 'n_tokens_neox': 525, 'n_words': 82}