Remove unused code from method setUp responsible for save data into
database, for now we insert data into database from sql script.
In bean hibernate4AnnotationSessionFactory add to properties

annotatedClasses new Entity: 
adrian.example.musicplayer.model.Music.Song
adrian.example.musicplayer.model.Music.Genres
adrian.example.musicplayer.model.Music.Album
adrian.example.musicplayer.model.Music.Artist

Based at this entity hibernate will be create Tables in databases. 

In bean hibernate4AnnotationSessionFactory add property  -
hibernate.hbm2ddl.import_files which will be import
scriptSqlMusicPlayer.sql and execute query inside this file.
In method 'registrationPagePostResultHasErrors' remove unused code
responsible for save user to database.
In bean hibernate4AnnotationSessionFactory add to properties

annotatedClasses new Entity: 
adrian.example.musicplayer.model.Music.Song
adrian.example.musicplayer.model.Music.Genres
adrian.example.musicplayer.model.Music.Album
adrian.example.musicplayer.model.Music.Artist

Based at this entity hibernate will be create Tables in databases. 

In bean hibernate4AnnotationSessionFactory add property  -
hibernate.hbm2ddl.import_files which will be import
scriptSqlMusicPlayer.sql and execute query inside this file.
In bean hibernate4AnnotationSessionFactory add to properties

annotatedClasses new Entity: 
adrian.example.musicplayer.model.Music.Song
adrian.example.musicplayer.model.Music.Genres
adrian.example.musicplayer.model.Music.Album
adrian.example.musicplayer.model.Music.Artist

Based at this entity hibernate will be create Tables in databases. 

In bean hibernate4AnnotationSessionFactory add property  -
hibernate.hbm2ddl.import_files which will be import
scriptSqlMusicPlayer.sql and execute query inside this file.
Remove unused parameter from annotation '@TransactionConfiguration'
'defaultRollback'

In method 'setUp' remove code responsible for block this method to call
before method.
In bean hibernate4AnnotationSessionFactory add to properties

annotatedClasses new Entity: 
adrian.example.musicplayer.model.Music.Song
adrian.example.musicplayer.model.Music.Genres
adrian.example.musicplayer.model.Music.Album
adrian.example.musicplayer.model.Music.Artist

Based at this entity hibernate will be create Tables in databases. 

In bean hibernate4AnnotationSessionFactory add property  -
hibernate.hbm2ddl.import_files which will be import
scriptSqlMusicPlayer.sql and execute query inside this file.
Remove from all method saving User to database, instead load User from
database.
Add to all method test if the sessionAttribute is correct.
Add taglib 'http://www.springframework.org/tags' mark as 'spring' 

Add taglib 'http://www.springframework.org/security/tags" mark as
"security' 

Change funciton 'location.reload()' to '$('#playlist').load()' now we
reload whole page by div so we don't reload page.