diff --git a/userqueue.admin.inc b/userqueue.admin.inc
index c198458..a1630a6 100644
--- a/userqueue.admin.inc
+++ b/userqueue.admin.inc
@@ -127,10 +127,32 @@ function userqueue_edit_form($form, &$form_state, $queue) {
       '#type' => 'submit',
       '#value' => t('Delete'),
     );
-  }
+  
+
+ }
+
+  $form['back'] = array(
+	'#type' => 'submit',
+	'#value' => t('Back'),
+	'#submit' =>array('admin_userqueue_go_back'), 
+  );
+
   return $form;
 }
 
+/*
+ * Defines the action of back button.
+ */
+
+
+function admin_userqueue_go_back()
+{
+	drupal_goto('/admin/structure/userqueue');
+}
+
+
+
+
 /**
  * Validate/rebuild queue edit form.
  */
diff --git a/userqueue.pages.inc b/userqueue.pages.inc
index 4663414..9af30a5 100644
--- a/userqueue.pages.inc
+++ b/userqueue.pages.inc
@@ -83,6 +83,13 @@ function userqueue_arrange_subqueue_form($form, $form_state, $queue, $users) {
     '#type' => 'submit',
     '#value' => t('Save'),
   );
+
+    $form['actions']['back'] = array(
+	'#type' => 'submit',
+	'#value' => t('Back'),
+	'#submit' =>array('admin_userqueue_go_back'), 
+  );
+
   // Disable all buttons if the queue is empty.
   if ($count == 0) {
     $form['actions']['submit']['#disabled'] = TRUE;
@@ -91,6 +98,17 @@ function userqueue_arrange_subqueue_form($form, $form_state, $queue, $users) {
   return $form;
 }
 
+/*
+ * Defines action for back button.
+ */
+
+function admin_userqueue_go_back()
+{
+	drupal_goto('/admin/structure/userqueue');
+}
+
+
+
 /**
  * Submit handler, add a new user in the queue.
  */
