JS now handle dates
added route for checking online status