Fixed: Liking when not logged in etc (used the .fail in ajax request)
when sorting was a weird glitch it would make the array empty. Fixed
when logged out, then in; the user token wasn't being updated.
Now commenting all my code and re-aranging it into a logical order. Just moved search etc