adding connection to backend

adding connection to backend for login andd courses.

Signed-off-by: Yousef Hamza <jo.adam.93@gmail.com>