I AM NOT ABLE TO RETRIEVE MY LOG IN CREDENTIALS.in laravel? : I know this might sound easy, I downloaded a bootstrap admin template to make my work easier but am not able to work around the log in page. I am trying to retrieve information i inserted but can't be able to do so and I dont know why. I get the error undefined index:name and i dont understand why its picking the insert function instead of the store function, here is my code:

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-html -->

         <form id="login-form" method="POST" action="{{route('/login')}}">
                        <div class="form-group">
                            <label for="email">Email:</label>
                            <input type="email" class="form-control" id="email" name="email" required class="input-material">                   
                             </div>
                        <div class="form-group">            
                          <label for="password">Password:</label>
                          <input type="password" class="form-control" id="password" name="password" required class="input-material" >
                        </div>
                        <div class="form-group">
                            <button type="submit" class="btn btn-primary">Login</button>
                        </div>  
                       <div class="col-md-8 col-md-offset-2">
                          @if(Session::has('danger'))
                               <div class="alert alert-danger">
                                 {{ Session::get('danger') }}
                               </div>
                          @endif
                        </div>    
                        <!-- This should be submit button but I replaced it with <a> for demo purposes-->
                      </form><a href="#" class="forgot-pass">Forgot Password?</a><br><small>Do not have an account? </small><a href="{{route('register')}}" class="signup">Signup</a>

<!-- end snippet -->

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- My controller -->

        public function store(){
           $rules = array(
    		    'email'    => 'required|email', // make sure the email is an actual email
    		    'password' => 'required|alphaNum|min:6' // password can only be alphanumeric and has to be greater than 6 characters
    		);

    		// run the validation rules on the inputs from the form
    		$validator = Validator::make(Input::all(), $rules);

    		// if the validator fails, redirect back to the form
    		if ($validator->fails()) {
    		    return Redirect::to('login')
    		        ->withErrors($validator) // send back all errors to the login form
    		        ->withInput(Input::except('password')); // send back the input (not the password) so that we can repopulate the form
    		} else {
    					 // create our user data for the authentication
    		    $userdata = array(
    		        'email'     => Input::get('email'),
    		        'password'  => Input::get('password')
    		    );

    		    // attempt to do the login
    		    if (Auth::attempt($userdata)) {

    				 return redirect::to('home');
     		    } else {        

    		        // validation not successful, send back to form 
    		        return Redirect::to('login');

    		    }

    		}
    	}

<!-- end snippet -->

