 
   @students from u in User, where: u.role == "Student" and is_nil(u.deleted_at)
 
-  def all() do
+  def all do
     Repo.all(@students)
   end
 

      student ->
        student
        |> User.changeset(params, :update)
        |> IO.inspect
        |> add_timestamps()
        |> Repo.update
        |> format_error(student)

defmodule CoursePlanner.Students do
  @moduledoc """
    Handle Students specific logics
  """
  alias CoursePlanner.Repo
  alias CoursePlanner.User
  import Ecto.Query
