Implemented routes when connected and when liked border around the buttion