def favourites():
    """
    In GET request
        - Displays a list of favourite videos.
    """
    if request.method == 'GET':
        if 'user' in  session:
            is_admin = (requests.get(url='http://127.0.0.1:8080/is-admin/{}'.format(session['user'])).content).decode("utf-8") # Done
            if is_admin == "True":
                abort(403)
            username = session['user']
            fav_list = (requests.get(url='http://127.0.0.1:8080/favourites/{}'.format(username)).content).decode("utf-8")
            fav_list = ast.literal_eval(fav_list)
            fav_dicttionary = {}
            for ID in fav_list:
                title = ((requests.get(url='http://127.0.0.1:8080/title/{}'.format(ID))).content).decode("utf-8") # Done
                views = ((requests.get(url='http://127.0.0.1:8080/views/{}'.format(ID))).content).decode("utf-8") # Done
                uploader = ((requests.get(url='http://127.0.0.1:8080/uploader/{}'.format(ID))).content).decode("utf-8") # Done
                fav_dicttionary.update({ID : [title, views, uploader]})
            favourites_page = ((requests.get(url='http://127.0.0.1:8080/html/{}'.format('favourite.html'))).content).decode("utf-8") # Done
            return render_template_string(favourites_page, fav = fav_dicttionary)
        else:
            return redirect(url_for('login_form'))