Fixed login button to form in registration
Temporary feature of adding courses to planner (no tests yet)
Added helper functions in models with doc string and tests