public function outputMsgs() {
		$messages = $this->session->get('flashmsgs');
		$output = null;

		if ($messages) {
			foreach ($messages as $key => $message) {
				$output .= '<div class="' . $message['type'] . '"><p>' . $message['content'] . '</p></div>';
			}
		}

		return $output;
	}