Added css to forms, fixed some bugs