Facebook and twitter login work but very buggy