move all frontend calls to api :)